package cn.wolfcode.transfer.service;

import cn.wolfcode.transfer.domain.LoginNotice;
import cn.wolfcode.transfer.domain.Notice;
import cn.wolfcode.transfer.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface INoticeService {
    void save(Notice notice);
    void delete(Long id);
    void update(Notice notice);
    Notice see(Long id);
    Notice get(Long id);
    PageInfo<Notice> listAll(QueryObject qo);
    // 分页查询的方法
    PageInfo<Notice> query(QueryObject qo);


    void push(Long id);

    void releaseAgain(Long id);

    void cancel(Long id);

    LoginNotice loginByIdGetNotice(Long id);
}
